﻿@model MongoServices.Example.Models.ViewModels.BlogCreateEditViewModel

@{
    ViewBag.Title = "Create Blog Post";
}

<h2>Create Blog Post</h2>

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

@using (Html.BeginForm()) {
	Html.RenderPartial("_Fields");
    <p>
        <input type="submit" value="Create" />
    </p>
}

<div>
    @Html.ActionLink("Back to posts", "Index")
</div>
